package com.hd.sup.modules.alarm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.sup.core.annotation.DataScope;
import com.hd.sup.modules.alarm.model.AlarmReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 报警报告表 Mapper 接口
 * </p>
 *
 * @author chentl123
 * @since 2020-12-28
 */
public interface AlarmReportMapper extends BaseMapper<AlarmReport> {
    /**
     * @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
     * @author chentl
     * @description 分析报告分页列表
     * @date 2021/3/2 1:56 下午
     * @params [page, alarmReport]
     */
    @DataScope
    List<Map<String, Object>> pageList(@Param("page") Page<Map<String, Object>> page, @Param("alarmReport") AlarmReport alarmReport);
}
